home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / rlib / asinh.r < prev    next >
Text File  |  1994-04-25  |  320b  |  15 lines

  1. //-------------------------------------------------------------------//
  2.  
  3. //  Syntax:  asinh ( X )
  4.  
  5. //  Description:
  6.  
  7. //  Asinh is the inverse hyperbolic sine of the element(s) of X.
  8.  
  9. //-------------------------------------------------------------------//
  10.  
  11. asinh = function ( x )
  12. {
  13.   return log (x + sqrt (x.^2 + 1));
  14. };
  15.